package org.hegang.design.first.adapterpattern.demo1;

/**
 * @ClassName Computer
 * @Describe:
 * @Author: gang.he
 * @Date: Created in 14:22 2021/4/22
 * @Modified:
 * @Version: V1.0
 */
public class Computer {

    public void network(Adapter adapter){
        adapter.handleCable();
        System.out.println("连接网线上网");
    }
}
